Skip to content

bug: 'lore' not 'item_lore'#4

Open
Lounode wants to merge 1 commit intotoxicity188:masterfrom
Lounode:master
Open

bug: 'lore' not 'item_lore'#4
Lounode wants to merge 1 commit intotoxicity188:masterfrom
Lounode:master

Conversation

@Lounode
Copy link

@Lounode Lounode commented Sep 17, 2024

In the source code, the id of DataComponentType.LORE is 'lore' not 'item_lore'
when i try to use id to get type i found this bug

public static final DataComponentType<ItemLore> LORE = register(
        "lore", builder -> builder.persistent(ItemLore.CODEC).networkSynchronized(ItemLore.STREAM_CODEC).cacheEncoding()
    );

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant